package com.mrjy.maintain.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.mrjy.common.entity.LabelType;
import com.mrjy.maintain.bo.ILabelTypeBo;

@RequestMapping("/maintain/labelType")
@Controller
public class LabelTypeController {

	@Resource
	private ILabelTypeBo labeltypeBo;
	
	/**
	 * 获取所有老师类型
	 * @return
	 */
	@RequestMapping("/getLabelList")
	@ResponseBody
	public List<LabelType> getList(){
		return labeltypeBo.getLabelTypeList();		
	}
}
